package org.example.gerneral;

/**
 * @author ZerlindaLi create at 2021/4/2 15:34
 * @version 1.0.0
 * @description AbstractClass
 */
public abstract class AbstractClass {

    public void step1() {
        System.out.println("第一步");
    }

    public void step2() {
        System.out.println("第二步");
    }

    public void step3() {
        System.out.println("第三步");
    }

    public void templateMethod() {
        step1();
        step2();
        step3();
    }
}
